package cc.momas.momall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cc.momas.momall.mapper.TbItemDescMapper;
import cc.momas.momall.po.TbItemDesc;
import cc.momas.momall.service.IItemDescService;

@Service("itemDescService")
public class ItemDescServiceImpl implements IItemDescService{

	@Autowired
	private TbItemDescMapper descMapper;
	
	@Override
	public TbItemDesc getById(Long id) {
		return descMapper.selectByPrimaryKey(id); 
	}

}
